﻿namespace ZerAx.ObjectNotation
{
    public enum ZonType: byte
    {
        Bool,
        U8,
        I32,
        F32,
        Vec3I,
        Vec3,
        String,
        Tagged,
        List,
        I32Array,
        ByteArray,
        Compound,
    }

    public static class ZonTypeExtensions
    {
        public static byte ToByte(this ZonType type) => (byte)type;
        public static ZonType ToZonType(this byte type) => (ZonType)type;
    }
}
